
// 自动生成模板AlbumDecorations
package yunxiangchuan
import (
	"time"
)

// 相册装饰管理 结构体  AlbumDecorations
type AlbumDecorations struct {
  Id  *int `json:"id" form:"id" gorm:"primarykey;column:id;size:20;"`  //id字段
  CreatedAt  *time.Time `json:"createdAt" form:"createdAt" gorm:"column:created_at;"`  //createdAt字段
  UpdatedAt  *time.Time `json:"updatedAt" form:"updatedAt" gorm:"column:updated_at;"`  //updatedAt字段
  DeletedAt  *time.Time `json:"deletedAt" form:"deletedAt" gorm:"column:deleted_at;"`  //deletedAt字段
  AlbumThemeId  *int `json:"albumThemeId" form:"albumThemeId" gorm:"comment:'相册主题的唯一标识符';column:album_theme_id;size:19;"`  //主题 id
  IsOpenScreen  *bool `json:"isOpenScreen" form:"isOpenScreen" gorm:"comment:'是否开启开屏封面';column:is_open_screen;"`  //是否开启开屏封面
  OpenScreenImage  *string `json:"openScreenImage" form:"openScreenImage" gorm:"comment:'开屏封面图片路径';column:open_screen_image;size:255;"`  //开屏封面图片路径
  HasPrefaceImage  *bool `json:"hasPrefaceImage" form:"hasPrefaceImage" gorm:"comment:'是否有预部宣传图';column:has_preface_image;"`  //是否有预部宣传图
  PrefaceImage  *string `json:"prefaceImage" form:"prefaceImage" gorm:"comment:'预部宣传图片路径';column:preface_image;size:255;"`  //预部宣传图片路径
  HasShareCover  *bool `json:"hasShareCover" form:"hasShareCover" gorm:"comment:'是否有分享封面图';column:has_share_cover;"`  //是否有分享封面图
  ShareCoverImage  *string `json:"shareCoverImage" form:"shareCoverImage" gorm:"comment:'分享封面图片路径';column:share_cover_image;size:255;"`  //分享封面图片路径
  HasPassword  *bool `json:"hasPassword" form:"hasPassword" gorm:"comment:'是否启用密码保护';column:has_password;"`  //是否启用密码保护
  Password  *string `json:"password" form:"password" gorm:"comment:'相册密码';column:password;size:10;"`  //相册密码
}


// TableName 相册装饰管理 AlbumDecorations自定义表名 album_decorations
func (AlbumDecorations) TableName() string {
    return "album_decorations"
}





